package com.lyons.generate.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyons.generate.pojo.CodeGenerate;
import com.lyons.generate.pojo.CodeGenerateConfig;

public interface CodeGenerateService extends IService<CodeGenerate> {

	List<CodeGenerate> queryAll();

	List<CodeGenerate> queryTableList();

	void insertOrUpdate(CodeGenerate generate);

	/**
	 * 通过表明查询字段信息
	 * 
	 * @param table
	 * @return
	 */
	List<CodeGenerateConfig> config(String table);

}
